<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-tab layui-tab-brief" th:fragment="tab">
    <ul class="layui-tab-title">
        <li th:class="${flag == 1 ? 'layui-this' : ''}"><a th:href="|/system/organ/detail.action?id=${organ.orgId==null?0:organ.orgId}&flag=1|"
                                                           lay-text="组织详情">组织详情</a></li>
        <li th:if="${organ.orgId!=null&&organ.orgId>0}" th:class="${flag == 2 ? 'layui-this' : ''}"><a
                th:href="|/system/organ/departments.action?orgId=${organ.orgId==null?0:organ.orgId}&flag=2|" lay-text="部门列表">部门列表</a></li>
    </ul>
</div>

</html>